.badge {
  width: 100%;
  height: 100%;
  padding: 20px;
  background: url(../fitness-imgs/huo-img30.jpg) center / cover;

  .mask {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5px;
    position: relative;

    .badge-means {
      height: 49px;
      background-color: #4294ff;
      display: flex;
      justify-content: center;
      align-items: center;

      .badge-back {
        width: 49px;
        line-height: 49px;
        text-align: center;
        font-size: 20px;
        position: absolute;
        left: 0px;
        top: 0px;
        color: #fff;
      }
    }

    .badge-rank {
      height: 135px;
      background-color: #4294ff;
      color: #fff;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;

      img {
        width: 120px;
        position: absolute;
        bottom: 0px;
        right: 0px;
        opacity: 0.7;
        font-weight: bold;
      }

      .badge-num {
        margin-right: 86px;
        z-index: 1;

        .badge-tips {
          position: absolute;
          top: 10px;
          right: 122px;
        }
      }
    }

    .badges {
      display: flex;
      flex-wrap: wrap;
      align-content: flex-start;
      background-color: #fff;
      padding-bottom: 25px;
      li {
        width: 95px;
        height: 95px;
        // border: 2px solid red;
        margin: 25px 20px 0 0;

        img {
          width: 95px;
        }
      }
      li:nth-child(3n) {
        margin-right: 0px;
      }
    }
  }
}
